package com.zhihong.service;

import com.zhihong.entity.BlogVo;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

@Component
public interface BlogService {
    /**
     * 获取提取的博客信息
     *
     * @return
     */
    List<BlogVo> getBlogList();

    /**
     * 导出csv文件
     *
     * @param httpServletResponse
     * @throws Exception
     */
    void export(HttpServletResponse httpServletResponse) throws Exception;

}
